home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / vol16n12.zip / IPC.ZIP / PCLIENT.ZIP / PCLIENT.CPP < prev    next >
C/C++ Source or Header  |  1997-02-11  |  1KB  |  56 lines

  1. // PClient.cpp : Defines the class behaviors for the application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "PClient.h"
  6. #include "PCliDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CPClientApp
  16.  
  17. BEGIN_MESSAGE_MAP(CPClientApp, CWinApp)
  18.     //{{AFX_MSG_MAP(CPClientApp)
  19.     //}}AFX_MSG
  20.     ON_COMMAND(ID_HELP, CWinApp::OnHelp)
  21. END_MESSAGE_MAP()
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CPClientApp construction
  25.  
  26. CPClientApp::CPClientApp()
  27. {
  28. }
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31. // The one and only CPClientApp object
  32.  
  33. CPClientApp theApp;
  34.  
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CPClientApp initialization
  37.  
  38. BOOL CPClientApp::InitInstance()
  39. {
  40.     // Standard initialization
  41.  
  42.     CPClientDlg dlg;
  43.     m_pMainWnd = &dlg;
  44.     int nResponse = dlg.DoModal();
  45.     if (nResponse == IDOK)
  46.     {
  47.     }
  48.     else if (nResponse == IDCANCEL)
  49.     {
  50.     }
  51.  
  52.     // Since the dialog has been closed, return FALSE so that we exit the
  53.     //  application, rather than start the application's message pump.
  54.     return FALSE;
  55. }
  56.